import {API} from "@/services/typings";
import {put} from "@/services/base-request";

export const updateSelfAPI = (data: API.IUser) => {
  return put("/user/updateSelf", data)
}

export const resetPasswordAPI = (data: { oldPassword: string, newPassword: string; confirmPassword: string }) => {
  return put("/auth/resetPassword", data)
}
